import type { ColumnsType } from 'antd/es/table';

export interface DataType {
	key: string;
	name: string;
	age: number;
	address: string;
	status: number;
}

export const columns: ColumnsType<DataType> = [
	{ title: 'Name', dataIndex: 'name' },
	{ title: 'Age', dataIndex: 'age' },
	{ title: 'Address', dataIndex: 'address' }
];

export const list: DataType[] = [
	{
		key: '123123',
		name: 'John Brown',
		age: 32,
		address: 'London No. 0 Lake Park',
		status: 0
	},
	{
		key: '234234',
		name: 'Jim Green',
		age: 42,
		address: 'London No. 1 Lake Park',
		status: 0
	},
	{
		key: '456456',
		name: 'Joe Black',
		age: 32,
		address: 'Sidney No. 1 Lake Park',
		status: 0
	}
];
